
package statics;

public class terpreter {
        public static void main(String[] args) {

            terpreter callMethods = new terpreter();
            
            
            callMethods.toLoadMatriz(3, 3);
            
    }
        public void toLoadMatriz(int numberRow, int numberColumnas) {
            int incrementValue = 0;
            int[][] arrayInteger = new int[numberRow][numberColumnas];
            
                for (int indexRow = 0; indexRow < arrayInteger.length; indexRow++) {
                    for (int indexColumns = 0; indexColumns < arrayInteger.length; indexColumns++) {
                        incrementValue = incrementValue + 1;
                        arrayInteger[indexRow][indexColumns] = incrementValue;
                    }
            }
                
                for (int indexPrintRow = 0; indexPrintRow < arrayInteger.length; indexPrintRow++) {
                    for (int indexPrintColums = 0; indexPrintColums < arrayInteger.length; indexPrintColums++) {
                        System.out.println(""+arrayInteger[indexPrintRow][indexPrintColums]);                                                
                    }
            }
        }
}
